home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global gtpoem, gppoem, gtbio, gpbio, gcurrentnumber, gblenddraw, galreadyshownbutton, greq
- set the volume of sound 1 to 150
- if not soundBusy(1) then
- puppetSound("RTRV")
- end if
- set the cursor of sprite 40 to [402, 404]
- set the cursor of sprite 41 to [401, 403]
- set the cursor of sprite 42 to [405, 406]
- set the cursor of sprite 43 to [407, 408]
- set the cursor of sprite 13 to [409, 410]
- set the cursor of sprite 14 to [409, 410]
- set the cursor of sprite 15 to [409, 410]
- set the cursor of sprite 16 to [409, 410]
- set galreadyshownbutton to 1
- set greq to "J"
- set a to 20
- set b to a / 2
- makepuppet(2, getbioname(gtbio, gcurrentnumber, "NK"), 100, 480, 260, 36)
- puppetPalette(the number of cast string(getbioname(gtbio, gcurrentnumber, "NK")) - 1)
- makepuppet(13, getbioname(gtbio, gcurrentnumber, "JN"), 100, 320 - b - (the width of cast getbioname(gtbio, gcurrentnumber, "JN") / 2), 50)
- makepuppet(14, getbioname(gtbio, gcurrentnumber, "EN"), 100, 320 + b + (the width of cast getbioname(gtbio, gcurrentnumber, "EN") / 2), 53)
- makepuppet(15, getpoemname(gtpoem, gcurrentnumber, 1), 100, 160, getpoempos(gtpoem, gcurrentnumber, 1) + (the height of cast getpoemname(gtpoem, gcurrentnumber, 1) / 2))
- makepuppet(16, getpoemname(gtpoem, gcurrentnumber, 2), 100, 160, getpoempos(gtpoem, gcurrentnumber, 2) + (the height of cast getpoemname(gtpoem, gcurrentnumber, 2) / 2))
- if count(getaProp(gtpoem, gcurrentnumber + 1)) >= 6 then
- makepuppet(19, "LONG.mod", 100, 50 + the width of cast getpoemname(gtpoem, gcurrentnumber, 1), getpoempos(gtpoem, gcurrentnumber, 1) + the height of cast getpoemname(gtpoem, gcurrentnumber, 1))
- makepuppet(20, "LONG.mod", 100, 50 + the width of cast getpoemname(gtpoem, gcurrentnumber, 2), getpoempos(gtpoem, gcurrentnumber, 2) + the height of cast getpoemname(gtpoem, gcurrentnumber, 2))
- else
- makepuppet(19, "DUMMY", 100, 50, 450, 36)
- makepuppet(20, "DUMMY", 100, 50, 450, 36)
- end if
- updateStage()
- end
-
- on exitFrame
- end
-